package com.wdc.service;

import com.wdc.controller.dto.UserDto;
import com.wdc.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 * 用户 服务类
 * </p>
 *
 * @author wdc
 * @since 2024-06-06
 */
public interface  UserService extends IService<User> {

    /**
     * 登录
     * @param userDto
     * @return
     */
    UserDto login(UserDto userDto);

    User register(UserDto userDto);
}
